﻿using System;
using System.Collections.Generic;
using UnityEngine;

// Token: 0x020002CF RID: 719
public class JapaneseData : ScriptableObject
{
	// Token: 0x060010CC RID: 4300 RVA: 0x0007B1E8 File Offset: 0x000793E8
	public string GetTranslation(string japanese)
	{
		if (this.translation == null)
		{
			this.translation = new List<JapaneseData.MorphTranslation>();
		}
		foreach (JapaneseData.MorphTranslation morphTranslation in this.translation)
		{
			if (morphTranslation.japanese == japanese)
			{
				return morphTranslation.english;
			}
		}
		JapaneseData.MorphTranslation morphTranslation2 = new JapaneseData.MorphTranslation();
		morphTranslation2.japanese = japanese;
		morphTranslation2.english = string.Empty;
		this.translation.Add(morphTranslation2);
		return string.Empty;
	}

	// Token: 0x0400159B RID: 5531
	public List<JapaneseData.MorphTranslation> translation;

	// Token: 0x020002D0 RID: 720
	[Serializable]
	public class MorphTranslation
	{
		// Token: 0x0400159C RID: 5532
		public string english;

		// Token: 0x0400159D RID: 5533
		public string japanese;
	}
}
